<div class="clear"></div>
<div class="photo">
	<div class="photo_l">
		{template "left.html"}	
    </div>
	<div class="photo_r">
        <div class="idx"><img src="__THEME__/public/statics/images/ad.jpg" width="100%" /></div>
        <div class="clear blank10"></div>
        <!--循环输出当前栏目下面的子栏目及其内容，运用到了双list循环标签因此需要定义返回值return=c（都懂得）-->
		{cmstag:category table='class' where="pid={$catid}" order='ordid asc,id asc' loop=0}
		<div class="r_lmlist" >
			<div class="tit">
            	<h4 class="l">[category:name]</h4>
                <div class="r"><a href="[category:id fun='catUrl(@me)']"><img src="__THEME__/public/statics/images/more.png" /></a></div>
            </div>
			<ul>
                <!--循环输出当前栏目下面的数据，我们按时间排序-->
				{cmstag:photo table='picture' field='id,title,thumb,url,seo_desc' where="classid in( [category:id fun='child_ids(@me,true)'] )" order='update_time' loop=4}
                <li><img src="[photo:thumb]" width="100%" /><br /><span><a href="[photo:id fun='getArcUrl(@me)']" title="[photo:title]">[photo:seo_desc fun='ab.c.cutstr(@me,18)']</a></span><br /><div class="into">[photo:seo_desc fun='ab.c.cutstr(@me,40)']</div><a href="[photo:id fun='getArcUrl(@me)']" class="cktj">查看图集</a></li>
                {/cmstag:photo}
				</ul>
			</div>
        {/cmstag:category}
    </div>	
</div>
<div class="clear"></div>